<div class="panel panel-default panel-intro">
{:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('teacher/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('teacher/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('teacher/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-danger {:$auth->check('teacher/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false" ><i class="fa fa-upload"></i> {:__('Import')}</a>

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('teacher/edit')}"
                           data-operate-del="{:$auth->check('teacher/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script id="searchformtpl" type="text/html">
    <form class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" novalidate="" method="post" action="">
        <fieldset>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4" >{:__('人员类型')}</label>
                    <div class="col-xs-8">
                         <input class="form-control " id="type" name="type">
                        </input>
                        <input type="hidden" class="operate" data-name="type" value="=" />
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4" >{:__('单位')}</label>
                    <div class="col-xs-8">
                        <input id="college_id" data-rule="required"  class="form-control "  name="college_id" type="text" value=""  >
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">{:__('科室')}</label>
                    <div class="col-xs-8">
                        <input class="department_id form-control " id="department_id" name="department_id">
                        </input>
                        <input type="hidden" class="operate" data-name="department_id" value="=" />
                    </div>
                </div>

               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label for="nickname" class="control-label col-xs-4">姓名</label>
                    <div class="col-xs-8">
                        <input type="hidden" class="form-control operate" name="nickname-operate" data-name="nickname" value="LIKE" readonly="">
                        <input type="text" class="form-control" name="nickname" value="" placeholder="姓名" id="nickname" data-index="2">
                    </div>
                </div>
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label for="tel" class="control-label col-xs-4">电话</label>
                    <div class="col-xs-8">
                        <input type="hidden" class="form-control operate" name="tel-operate" data-name="tel" value="LIKE" readonly="">
                        <input type="text" class="form-control" name="tel" value="" placeholder="电话" id="tel" data-index="3">
                    </div>
                </div>

                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>

        </fieldset>
    </form>
</script>